//package com.qifenqian.turbot.deprecated.presenter
//
//import android.content.Context
//import com.qifenqian.turbot.base.BasePresenter
//import com.qifenqian.turbot.deprecated.contract.SettingContract
//import com.qifenqian.turbot.module.entity.response.VersionEntity
//import com.qifenqian.turbot.deprecated.model.SettingModel
//import com.qifenqian.turbot.net.ModelCallback
//
///**
// * @author H
// * @createTime 2018/12/13 16:20
// * @description
// * @see
// * @since
// */
//@Deprecated("Account")
//class SettingPresenter(context: Context, view: SettingContract.View) : BasePresenter<SettingContract.View, SettingModel>(context, view), SettingContract.Presenter {
//
//    override fun createModel(): SettingModel {
//        return SettingModel(mContext)
//    }
//
//    override fun checkVersion() {
//        mModel.checkVersion(object : ModelCallback<VersionEntity> {
//            override fun onSuccess(msg: String?, t: VersionEntity?) {
//                mView!!.checkVersionResult(true, versionEntity = t)
//            }
//
//            override fun onFailure(code: Int, msg: String?) {
//                mView!!.checkVersionResult(false, code, msg)
//            }
//
//        })
//    }
//
//}
